package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author gxy
 * @since 2022-07-14
 */
@Getter
@Setter
@TableName("sys_app_upgrade")
@ApiModel(value = "app版本信息", description = "app版本信息")
public class AppUpgrade implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("版本号")
    private String version;

    @ApiModelProperty("版本号")
    private String appid;

    @ApiModelProperty("是否强制更新 0 不强制 1 强制")
    private Integer isforce;

    @ApiModelProperty("更新信息")
    private String message;

    @ApiModelProperty("安装包地址")
    private String url;

}
